<%- include header%>

<div class="pub_tra">
	
	<div class="container">
		<h3 style="text-align:center">编辑游记</h3>
		<div class="col-lg-10 col-sm-10 col-md-10 col-sm-10" style="left: 8%; height: 700px;">
			<form method="post" action="/edit/<%= post.name%>/<%= post.time.day%>/<%= post.title%>/<%= post.area%>">
				<h4>标题：</h4><input type="text" name="title" disabled="disabled" class="form-control" placeholder="<%= post.title%>" />
				<h4>地点：</h4><input type="text" name="area" disabled="disabled" class="form-control" placeholder="<%= post.area%>" />
				<h4>正文：</h4>
				<div id="odiv" style="display:none;position:fixed;z-index:100;">

				</div>
				<textarea name="article"  onmousedown="show_element(event)" style="clear:both" id="customized-buttonpane" class="editor" >
				<%= post.post%>	
				</textarea>

				<button type="submit" class="btn btn-success btn-lg" style="margin-top: 30px; margin-left: 40%;">保存修改</button>

			</form>
		</div>

	</div>
</div>

<%- include footer%>

<link rel="stylesheet" href="/stylesheets/pub_tra.css" />
<link rel="stylesheet" href="/assets/design/css/trumbowyg.css" />
<script type="text/javascript" src="/assets/jquery.min.js" ></script>
<script type="text/javascript" src="/assets/trumbowyg.js" ></script>
<script type="text/javascript" src="/assets/plugins/base64/trumbowyg.base64.js" ></script>
<!--<script type="text/javascript">
jq = jQuery.noConflict();
jq(function(){

});
</script>-->